package edu.chinasoft.domain;




public class User {
    private int userId;
    private String userName;
    private String userPassword;
    private String userDesc;
    private  String userStatus;

    private Dept dept;
    private Idcard idcard;
    public User() {
    }

    public User(String userName, String userPassword, String userDesc, String userStatus) {
        this.userName = userName;
        this.userPassword = userPassword;
        this.userDesc = userDesc;
        this.userStatus = userStatus;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserDesc() {
        return userDesc;
    }

    public void setUserDesc(String userDesc) {
        this.userDesc = userDesc;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public Idcard getIdcard() {
		return idcard;
	}

	public void setIdcard(Idcard idcard) {
		this.idcard = idcard;
	}

	@Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userDesc='" + userDesc + '\'' +
                ", userStatus='" + userStatus + '\'' +
                '}';
    }
}
